/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { RString } from '../models/RString';

import type { CancelablePromise } from '../core/CancelablePromise';
import { OpenAPI } from '../core/OpenAPI';
import { request as __request } from '../core/request';

export class OssControllerService {

    /**
     * @param requestBody 
     * @returns RString OK
     * @throws ApiError
     */
    public static uploadOssFile(
requestBody?: {
file: Blob;
},
): CancelablePromise<RString> {
        return __request(OpenAPI, {
            method: 'POST',
            url: '/oss/upload',
            body: requestBody,
            mediaType: 'application/json',
        });
    }

}
